package org.example.infrastructure.persistent.dao;

import org.apache.ibatis.annotations.Mapper;
import org.example.infrastructure.persistent.po.LotteryRecordPO;

import java.util.List;

/**
 * @author lxc18
 * @date 2025/3/12 11:42
 * @description ILotteryRecord
 */
@Mapper
public interface ILotteryRecordDao {
    boolean insert(LotteryRecordPO lotteryRecordPO);

    LotteryRecordPO selectByUserId(Long userId);

//    查询所有的
    List<LotteryRecordPO> selectAll();

    List<LotteryRecordPO> queryUserLotteryRecordByUserId(Long userId);
}
